package com.example.hospitalapp;

public class Appointment {
    private int appointmentId;
    private String appointmentTime;
    private String status;
    private String paymentStatus;
    private int doctorId;
    private String doctorName;
    private String specialty;
    private int queueNumber;  // 排队号
    private String queueTime; // 排队时间


    public Appointment(int appointmentId, String appointmentTime, String status, String paymentStatus, int doctorId, int patientId) {
        this.appointmentId = appointmentId;
        this.appointmentTime = appointmentTime;
        this.status = status;
        this.paymentStatus = paymentStatus;
        this.doctorId = doctorId;

        this.doctorName = null;  // 初始值为空
        this.specialty = null;   // 初始值为空
    }

    // Getters and Setters
    public int getAppointmentId() {
        return appointmentId;
    }

    public void setAppointmentId(int appointmentId) {
        this.appointmentId = appointmentId;
    }

    public String getAppointmentTime() {
        return appointmentTime;
    }

    public void setAppointmentTime(String appointmentTime) {
        this.appointmentTime = appointmentTime;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getPaymentStatus() {
        return paymentStatus;
    }

    public void setPaymentStatus(String paymentStatus) {
        this.paymentStatus = paymentStatus;
    }

    public int getDoctorId() {
        return doctorId;
    }

    public void setDoctorId(int doctorId) {
        this.doctorId = doctorId;
    }

    public String getDoctorName() {
        return doctorName;
    }

    public void setDoctorName(String doctorName) {
        this.doctorName = doctorName;
    }

    public String getSpecialty() {
        return specialty;
    }

    public void setSpecialty(String specialty) {
        this.specialty = specialty;
    }
    public int getQueueNumber() {
        return queueNumber;
    }

    public void setQueueNumber(int queueNumber) {
        this.queueNumber = queueNumber;
    }

    public String getQueueTime() {
        return queueTime;
    }

    public void setQueueTime(String queueTime) {
        this.queueTime = queueTime;
    }

}


